public class Student {
    private Integer id;
    private Integer num;
    private String name;

    public Student(Integer id, Integer num, String name) {
        this.id = id;
        this.num = num;
        this.name = name;
    }

    public Student() {

    }

    public Integer getId() {

        return id;
    }

    public void setId(Integer id) {

        this.id = id;
    }

    public Integer getNum() {

        return num;
    }

    public void setNum(Integer num) {

        this.num = num;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                "num=" + num +
                ", name='" + name + '\'' +
                '}';
    }

    public void setName(int i) {
    }
}